<?php
/*
Template Name: Contact
*/
get_header();
?>
<div class="f-contact row-fluid">
	<div class="f-contactForm span5">
		<h1><?php the_title(); ?></h1>
		<form id="contact" name="contact" method="post">
			<?php
			$the_query = new WP_Query('name=Contact Form');
			if ($the_query->have_posts()) {
				while ($the_query->have_posts()) {
					$the_query->the_post();
					echo get_the_content();
				}
			}
			wp_reset_postdata();
			?>
		</form>
	</div><!-- f-contactForm -->
	<div class="f-contactInformation offset7">
		<?php the_content(); ?>
	</div><!-- f-contactInformation -->
</div><!-- f-contact -->
</div><!-- f-logo-menu -->
</div><!-- f-header -->
<div class="f-modal hide">
	<?php
			$the_query = new WP_Query('name=Contact Pop-up');
			if ($the_query->have_posts()) {
				while ($the_query->have_posts()) {
					$the_query->the_post();
					the_content();
				}
			}
	?>
	<a href="#" class="btn btn-success">OK</a>
</div>
<div class="f-mask"></div>

<?php get_footer(); ?>
<script src="<?php echo get_template_directory_uri(); ?>/js/contact-val.js" type="text/javascript"></script>
